package de.tum.beilmeiner.im.client;

import java.util.Date;
import java.util.HashMap;

import de.tum.beilmeiner.im.client.bundle.ChatRoomBundle;
import de.tum.beilmeiner.im.shared.model.User;

public class UserSessionHandler {

	private User loginuser = null;
	private Date logintime = null;
	private HashMap<String, ChatRoomBundle> userChatRooms = null;
	
	public UserSessionHandler() {
		userChatRooms = new HashMap<String, ChatRoomBundle>();
		
	}

	
	
	public HashMap<String, ChatRoomBundle> getUserChatRooms() {
		return userChatRooms;
	}

	public void setUserChatRooms(HashMap<String, ChatRoomBundle> userChatRooms) {
		this.userChatRooms = userChatRooms;
	}

	public User getLoginUser() {
		return loginuser;
	}

	public void setLoginUser(User loginuser) {
		this.loginuser = loginuser;
	}

	public Date getLoginTime() {
		return logintime;
	}

	public void setLoginTime(Date logintime) {
		this.logintime = logintime;
	}


}
